<?php

namespace app\common\model;

use think\Model;

class Article extends Model
{
    public static function getList($where=[]){
        return self::where($where)->order('create_time','desc')->paginate(request()->param('pageSize',10),false,[
            'query'=>array_filter(request()->param())
        ]);
    }
}
